package cn.offer.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YixuePaotuiFabuExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YixuePaotuiFabuExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("UserId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("UserId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("UserId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("UserId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("UserId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("UserId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("UserId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("UserId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("UserId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("UserId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidIsNull() {
            addCriterion("BringAddressId is null");
            return (Criteria) this;
        }

        public Criteria andBringaddressidIsNotNull() {
            addCriterion("BringAddressId is not null");
            return (Criteria) this;
        }

        public Criteria andBringaddressidEqualTo(Integer value) {
            addCriterion("BringAddressId =", value, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidNotEqualTo(Integer value) {
            addCriterion("BringAddressId <>", value, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidGreaterThan(Integer value) {
            addCriterion("BringAddressId >", value, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidGreaterThanOrEqualTo(Integer value) {
            addCriterion("BringAddressId >=", value, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidLessThan(Integer value) {
            addCriterion("BringAddressId <", value, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidLessThanOrEqualTo(Integer value) {
            addCriterion("BringAddressId <=", value, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidIn(List<Integer> values) {
            addCriterion("BringAddressId in", values, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidNotIn(List<Integer> values) {
            addCriterion("BringAddressId not in", values, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidBetween(Integer value1, Integer value2) {
            addCriterion("BringAddressId between", value1, value2, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andBringaddressidNotBetween(Integer value1, Integer value2) {
            addCriterion("BringAddressId not between", value1, value2, "bringaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidIsNull() {
            addCriterion("TakeAddressId is null");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidIsNotNull() {
            addCriterion("TakeAddressId is not null");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidEqualTo(Integer value) {
            addCriterion("TakeAddressId =", value, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidNotEqualTo(Integer value) {
            addCriterion("TakeAddressId <>", value, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidGreaterThan(Integer value) {
            addCriterion("TakeAddressId >", value, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidGreaterThanOrEqualTo(Integer value) {
            addCriterion("TakeAddressId >=", value, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidLessThan(Integer value) {
            addCriterion("TakeAddressId <", value, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidLessThanOrEqualTo(Integer value) {
            addCriterion("TakeAddressId <=", value, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidIn(List<Integer> values) {
            addCriterion("TakeAddressId in", values, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidNotIn(List<Integer> values) {
            addCriterion("TakeAddressId not in", values, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidBetween(Integer value1, Integer value2) {
            addCriterion("TakeAddressId between", value1, value2, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andTakeaddressidNotBetween(Integer value1, Integer value2) {
            addCriterion("TakeAddressId not between", value1, value2, "takeaddressid");
            return (Criteria) this;
        }

        public Criteria andBringlocationIsNull() {
            addCriterion("BringLocation is null");
            return (Criteria) this;
        }

        public Criteria andBringlocationIsNotNull() {
            addCriterion("BringLocation is not null");
            return (Criteria) this;
        }

        public Criteria andBringlocationEqualTo(String value) {
            addCriterion("BringLocation =", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationNotEqualTo(String value) {
            addCriterion("BringLocation <>", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationGreaterThan(String value) {
            addCriterion("BringLocation >", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationGreaterThanOrEqualTo(String value) {
            addCriterion("BringLocation >=", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationLessThan(String value) {
            addCriterion("BringLocation <", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationLessThanOrEqualTo(String value) {
            addCriterion("BringLocation <=", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationLike(String value) {
            addCriterion("BringLocation like", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationNotLike(String value) {
            addCriterion("BringLocation not like", value, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationIn(List<String> values) {
            addCriterion("BringLocation in", values, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationNotIn(List<String> values) {
            addCriterion("BringLocation not in", values, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationBetween(String value1, String value2) {
            addCriterion("BringLocation between", value1, value2, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andBringlocationNotBetween(String value1, String value2) {
            addCriterion("BringLocation not between", value1, value2, "bringlocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationIsNull() {
            addCriterion("TakeLocation is null");
            return (Criteria) this;
        }

        public Criteria andTakelocationIsNotNull() {
            addCriterion("TakeLocation is not null");
            return (Criteria) this;
        }

        public Criteria andTakelocationEqualTo(String value) {
            addCriterion("TakeLocation =", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationNotEqualTo(String value) {
            addCriterion("TakeLocation <>", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationGreaterThan(String value) {
            addCriterion("TakeLocation >", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationGreaterThanOrEqualTo(String value) {
            addCriterion("TakeLocation >=", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationLessThan(String value) {
            addCriterion("TakeLocation <", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationLessThanOrEqualTo(String value) {
            addCriterion("TakeLocation <=", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationLike(String value) {
            addCriterion("TakeLocation like", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationNotLike(String value) {
            addCriterion("TakeLocation not like", value, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationIn(List<String> values) {
            addCriterion("TakeLocation in", values, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationNotIn(List<String> values) {
            addCriterion("TakeLocation not in", values, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationBetween(String value1, String value2) {
            addCriterion("TakeLocation between", value1, value2, "takelocation");
            return (Criteria) this;
        }

        public Criteria andTakelocationNotBetween(String value1, String value2) {
            addCriterion("TakeLocation not between", value1, value2, "takelocation");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidIsNull() {
            addCriterion("CollegeLocationId is null");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidIsNotNull() {
            addCriterion("CollegeLocationId is not null");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidEqualTo(Integer value) {
            addCriterion("CollegeLocationId =", value, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidNotEqualTo(Integer value) {
            addCriterion("CollegeLocationId <>", value, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidGreaterThan(Integer value) {
            addCriterion("CollegeLocationId >", value, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CollegeLocationId >=", value, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidLessThan(Integer value) {
            addCriterion("CollegeLocationId <", value, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidLessThanOrEqualTo(Integer value) {
            addCriterion("CollegeLocationId <=", value, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidIn(List<Integer> values) {
            addCriterion("CollegeLocationId in", values, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidNotIn(List<Integer> values) {
            addCriterion("CollegeLocationId not in", values, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidBetween(Integer value1, Integer value2) {
            addCriterion("CollegeLocationId between", value1, value2, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andCollegelocationidNotBetween(Integer value1, Integer value2) {
            addCriterion("CollegeLocationId not between", value1, value2, "collegelocationid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andGoodstypeIsNull() {
            addCriterion("GoodsType is null");
            return (Criteria) this;
        }

        public Criteria andGoodstypeIsNotNull() {
            addCriterion("GoodsType is not null");
            return (Criteria) this;
        }

        public Criteria andGoodstypeEqualTo(Integer value) {
            addCriterion("GoodsType =", value, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeNotEqualTo(Integer value) {
            addCriterion("GoodsType <>", value, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeGreaterThan(Integer value) {
            addCriterion("GoodsType >", value, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("GoodsType >=", value, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeLessThan(Integer value) {
            addCriterion("GoodsType <", value, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeLessThanOrEqualTo(Integer value) {
            addCriterion("GoodsType <=", value, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeIn(List<Integer> values) {
            addCriterion("GoodsType in", values, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeNotIn(List<Integer> values) {
            addCriterion("GoodsType not in", values, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeBetween(Integer value1, Integer value2) {
            addCriterion("GoodsType between", value1, value2, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodstypeNotBetween(Integer value1, Integer value2) {
            addCriterion("GoodsType not between", value1, value2, "goodstype");
            return (Criteria) this;
        }

        public Criteria andGoodsweightIsNull() {
            addCriterion("GoodsWeight is null");
            return (Criteria) this;
        }

        public Criteria andGoodsweightIsNotNull() {
            addCriterion("GoodsWeight is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsweightEqualTo(Integer value) {
            addCriterion("GoodsWeight =", value, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightNotEqualTo(Integer value) {
            addCriterion("GoodsWeight <>", value, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightGreaterThan(Integer value) {
            addCriterion("GoodsWeight >", value, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightGreaterThanOrEqualTo(Integer value) {
            addCriterion("GoodsWeight >=", value, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightLessThan(Integer value) {
            addCriterion("GoodsWeight <", value, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightLessThanOrEqualTo(Integer value) {
            addCriterion("GoodsWeight <=", value, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightIn(List<Integer> values) {
            addCriterion("GoodsWeight in", values, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightNotIn(List<Integer> values) {
            addCriterion("GoodsWeight not in", values, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightBetween(Integer value1, Integer value2) {
            addCriterion("GoodsWeight between", value1, value2, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsweightNotBetween(Integer value1, Integer value2) {
            addCriterion("GoodsWeight not between", value1, value2, "goodsweight");
            return (Criteria) this;
        }

        public Criteria andGoodsnumIsNull() {
            addCriterion("GoodsNum is null");
            return (Criteria) this;
        }

        public Criteria andGoodsnumIsNotNull() {
            addCriterion("GoodsNum is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsnumEqualTo(Integer value) {
            addCriterion("GoodsNum =", value, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumNotEqualTo(Integer value) {
            addCriterion("GoodsNum <>", value, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumGreaterThan(Integer value) {
            addCriterion("GoodsNum >", value, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("GoodsNum >=", value, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumLessThan(Integer value) {
            addCriterion("GoodsNum <", value, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumLessThanOrEqualTo(Integer value) {
            addCriterion("GoodsNum <=", value, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumIn(List<Integer> values) {
            addCriterion("GoodsNum in", values, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumNotIn(List<Integer> values) {
            addCriterion("GoodsNum not in", values, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumBetween(Integer value1, Integer value2) {
            addCriterion("GoodsNum between", value1, value2, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsnumNotBetween(Integer value1, Integer value2) {
            addCriterion("GoodsNum not between", value1, value2, "goodsnum");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoIsNull() {
            addCriterion("GoodsInfo is null");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoIsNotNull() {
            addCriterion("GoodsInfo is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoEqualTo(String value) {
            addCriterion("GoodsInfo =", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoNotEqualTo(String value) {
            addCriterion("GoodsInfo <>", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoGreaterThan(String value) {
            addCriterion("GoodsInfo >", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoGreaterThanOrEqualTo(String value) {
            addCriterion("GoodsInfo >=", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoLessThan(String value) {
            addCriterion("GoodsInfo <", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoLessThanOrEqualTo(String value) {
            addCriterion("GoodsInfo <=", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoLike(String value) {
            addCriterion("GoodsInfo like", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoNotLike(String value) {
            addCriterion("GoodsInfo not like", value, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoIn(List<String> values) {
            addCriterion("GoodsInfo in", values, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoNotIn(List<String> values) {
            addCriterion("GoodsInfo not in", values, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoBetween(String value1, String value2) {
            addCriterion("GoodsInfo between", value1, value2, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andGoodsinfoNotBetween(String value1, String value2) {
            addCriterion("GoodsInfo not between", value1, value2, "goodsinfo");
            return (Criteria) this;
        }

        public Criteria andExpecttimeIsNull() {
            addCriterion("ExpectTime is null");
            return (Criteria) this;
        }

        public Criteria andExpecttimeIsNotNull() {
            addCriterion("ExpectTime is not null");
            return (Criteria) this;
        }

        public Criteria andExpecttimeEqualTo(Date value) {
            addCriterion("ExpectTime =", value, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeNotEqualTo(Date value) {
            addCriterion("ExpectTime <>", value, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeGreaterThan(Date value) {
            addCriterion("ExpectTime >", value, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ExpectTime >=", value, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeLessThan(Date value) {
            addCriterion("ExpectTime <", value, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeLessThanOrEqualTo(Date value) {
            addCriterion("ExpectTime <=", value, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeIn(List<Date> values) {
            addCriterion("ExpectTime in", values, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeNotIn(List<Date> values) {
            addCriterion("ExpectTime not in", values, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeBetween(Date value1, Date value2) {
            addCriterion("ExpectTime between", value1, value2, "expecttime");
            return (Criteria) this;
        }

        public Criteria andExpecttimeNotBetween(Date value1, Date value2) {
            addCriterion("ExpectTime not between", value1, value2, "expecttime");
            return (Criteria) this;
        }

        public Criteria andAccountIsNull() {
            addCriterion("Account is null");
            return (Criteria) this;
        }

        public Criteria andAccountIsNotNull() {
            addCriterion("Account is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEqualTo(Double value) {
            addCriterion("Account =", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotEqualTo(Double value) {
            addCriterion("Account <>", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThan(Double value) {
            addCriterion("Account >", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountGreaterThanOrEqualTo(Double value) {
            addCriterion("Account >=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThan(Double value) {
            addCriterion("Account <", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountLessThanOrEqualTo(Double value) {
            addCriterion("Account <=", value, "account");
            return (Criteria) this;
        }

        public Criteria andAccountIn(List<Double> values) {
            addCriterion("Account in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotIn(List<Double> values) {
            addCriterion("Account not in", values, "account");
            return (Criteria) this;
        }

        public Criteria andAccountBetween(Double value1, Double value2) {
            addCriterion("Account between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andAccountNotBetween(Double value1, Double value2) {
            addCriterion("Account not between", value1, value2, "account");
            return (Criteria) this;
        }

        public Criteria andFeeIsNull() {
            addCriterion("Fee is null");
            return (Criteria) this;
        }

        public Criteria andFeeIsNotNull() {
            addCriterion("Fee is not null");
            return (Criteria) this;
        }

        public Criteria andFeeEqualTo(Double value) {
            addCriterion("Fee =", value, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeNotEqualTo(Double value) {
            addCriterion("Fee <>", value, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeGreaterThan(Double value) {
            addCriterion("Fee >", value, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeGreaterThanOrEqualTo(Double value) {
            addCriterion("Fee >=", value, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeLessThan(Double value) {
            addCriterion("Fee <", value, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeLessThanOrEqualTo(Double value) {
            addCriterion("Fee <=", value, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeIn(List<Double> values) {
            addCriterion("Fee in", values, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeNotIn(List<Double> values) {
            addCriterion("Fee not in", values, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeBetween(Double value1, Double value2) {
            addCriterion("Fee between", value1, value2, "fee");
            return (Criteria) this;
        }

        public Criteria andFeeNotBetween(Double value1, Double value2) {
            addCriterion("Fee not between", value1, value2, "fee");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("AddTime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("AddTime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("AddTime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("AddTime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("AddTime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("AddTime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("AddTime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("AddTime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("AddTime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("AddTime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("AddTime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("AddTime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}